<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Текущее состояние услуг" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" resourceBundle="ru/apertum/qsystem/reports/templates/i3-label-rep" uuid="cb1323db-4ea2-4706-ab62-d121e642e850">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="SansSerif" isDefault="true" fontName="SansSerif" fontSize="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="tahoma.ttf" pdfEncoding="KOI8-R" isPdfEmbedded="true"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="serviceKilled" class="java.lang.Integer"/>
	<field name="serviceWorked" class="java.lang.Integer"/>
	<field name="serviceWait" class="java.lang.Integer"/>
	<field name="serviceAverageWork" class="java.lang.Long"/>
	<field name="serviceAverageWait" class="java.lang.Long"/>
	<field name="service" class="java.lang.String"/>
	<field name="user" class="java.lang.String"/>
	<field name="userWorked" class="java.lang.Integer"/>
	<field name="userAverageWork" class="java.lang.Long"/>
	<field name="userKilled" class="java.lang.Integer"/>
	<field name="worked" class="java.lang.Integer"/>
	<field name="killed" class="java.lang.Integer"/>
	<field name="avgTimeWork" class="java.lang.Long"/>
	<group name="StateGroup">
		<groupExpression><![CDATA[$F{user}]]></groupExpression>
		<groupHeader>
			<band height="43">
				<textField>
					<reportElement uuid="00632ae5-460a-47f2-bea3-a2cd16c99df8" x="47" y="25" width="508" height="18"/>
					<textElement>
						<font fontName="SansSerif" size="12"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{served} + ": " + $F{userWorked} + "  "+ $R{killed} +": " +  $F{userKilled} + "  "+ $R{work_avg} +": " + $F{userAverageWork} + " "+ $R{min} +"."]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement uuid="59734ae6-370c-4d4d-8fd3-16be1d11490c" x="1" y="5" width="554" height="20"/>
					<textElement>
						<font fontName="SansSerif" size="12" isUnderline="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$R{user} + ":  " + $F{user}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="4">
				<line>
					<reportElement uuid="8aadee94-9832-454a-bd9a-a98ce640d33e" x="0" y="1" width="555" height="1"/>
					<graphicElement>
						<pen lineWidth="2.0" lineStyle="Dashed"/>
					</graphicElement>
				</line>
			</band>
		</groupFooter>
	</group>
	<title>
		<band height="58">
			<line>
				<reportElement uuid="278cc463-82ad-48ee-a5a9-4277ea8d4819" x="0" y="4" width="555" height="1"/>
			</line>
			<line>
				<reportElement uuid="9cd92ce6-8887-4801-98ed-0506369852eb" x="0" y="53" width="555" height="1"/>
			</line>
			<textField>
				<reportElement uuid="3a81432b-e3be-4e36-a10e-9641c0aa9c16" x="3" y="5" width="552" height="48"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font fontName="SansSerif" size="18" isBold="true" pdfFontName="tahoma.ttf" pdfEncoding="KOI8-R" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{rep2_caption}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band height="21">
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="3b0e0dd2-b0c3-40e2-9fc6-af860e2c4273" key="textField" x="0" y="0" width="555" height="15" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font fontName="SansSerif" size="10"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{produced} +" "+new Date()]]></textFieldExpression>
			</textField>
			<line>
				<reportElement uuid="07cf80ba-f1e9-4e04-8dde-04583266e17c" x="0" y="17" width="555" height="1"/>
				<graphicElement>
					<pen lineStyle="Solid" lineColor="#CCCCCC"/>
				</graphicElement>
			</line>
		</band>
	</pageHeader>
	<columnHeader>
		<band/>
	</columnHeader>
	<detail>
		<band height="39" splitType="Prevent">
			<textField isBlankWhenNull="false">
				<reportElement uuid="415f66f9-bfcd-419b-85fd-c70fcbdab312" x="28" y="0" width="521" height="20"/>
				<textElement>
					<font fontName="SansSerif" size="12" isUnderline="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{service} + ":  " + $F{service}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement uuid="4d06467d-c0e4-40fd-bab7-7e20bd018db5" x="47" y="20" width="508" height="18"/>
				<textElement>
					<font fontName="SansSerif" size="12"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{served}+":  " + $F{worked} + "  "+ $R{killed} +": " + $F{killed}  + "  "+$R{work_avg}+": " + $F{avgTimeWork} + $R{min} +"."]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band/>
	</columnFooter>
	<pageFooter>
		<band height="24">
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="d7baaf17-c7d8-4015-a1b6-e7a30d0e5d01" key="textField" x="296" y="2" width="216" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Right">
					<font fontName="SansSerif" size="10" pdfFontName="tahoma.ttf" pdfEncoding="KOI8-R" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$R{page}+" " + $V{PAGE_NUMBER} + " "+$R{from}+" "]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement uuid="e13d840c-7671-43ce-a428-a916664ed456" key="textField" x="516" y="2" width="36" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font size="10" pdfFontName="tahoma.ttf" pdfEncoding="KOI8-R" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement uuid="5b304d53-9b9b-489e-9550-f6a4b89b1578" key="textField" x="1" y="2" width="209" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font fontName="SansSerif" size="10" pdfFontName="tahoma.ttf" pdfEncoding="KOI8-R" isPdfEmbedded="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new Date()]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band/>
	</summary>
</jasperReport>
